package com.hjm.project.statistical.standard.domain;

import java.math.BigDecimal;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 达标台均对象 agent_month_standard
 *
 * @author maker-platform
 * @date 2021-06-23
 */

@Data
public class AgentMonthStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 服务商编号 */
    @Excel(name = "服务商编号")
    private String agentNum;

    /** 服务商名称 */
    @Excel(name = "服务商名称")
    private String agentName;

    /** 终端类型 0、传统 4、电签 */
    @Excel(name = "终端类型",readConverterExp = "0=传统终端,4=电签POS,5=GB传统,6=GB电签,7=GB电签二")
    private Integer dqType;

    /** 所属资深总监编号 */
    @Excel(name = "所属资深总监编号")
    private String belongAgent;

    /** 所属资深总监名称 */
    @Excel(name = "所属资深总监名称")
    private String belongName;

    /** 交易总额 */
    @Excel(name = "交易总额")
    private BigDecimal money;

    /** 激活台数 */
    @Excel(name = "激活台数")
    private Integer activeCount;

    /** 添加日期 */
    @Excel(name = "添加日期")
    private String addDate;

    /** 添加人 */
    private String addMan;

    /** 备注 */
    private String note;

    /** 台均交易额 */
    @Excel(name = "台均交易额")
    private BigDecimal standardMoney;
    //@Excel(name = "所属月")
    private String monthDay;

    private String startDay;
    private String endDay;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentNum", getAgentNum())
            .append("agentName", getAgentName())
            .append("dqType", getDqType())
            .append("belongAgent", getBelongAgent())
            .append("belongName", getBelongName())
            .append("money", getMoney())
            .append("activeCount", getActiveCount())
            .append("addDate", getAddDate())
            .append("addMan", getAddMan())
            .append("note", getNote())
            .append("standardMoney", getStandardMoney())
            .toString();
    }
}
